liblockdep: Fix 'unused value' warnings
authorBen Hutchings <ben@decadent.org.uk>
Tue, 14 Jun 2016 19:13:23 +0000 (20:13 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Sat, 28 Jan 2017 16:11:16 +0000 (16:11 +0000)
commit44fe0071ab55e1e5389e8f2bdebde7b9c0a7fdf2
treef4ae5e81e8f4c5c20f0da001a9701e468e3ff146
parent71375fcacac16a782a192b40a3c8e405204367bc
liblockdep: Fix 'unused value' warnings

liblockdep defines various macros that may expand to an expression
with no effect, while the in-kernel definition does have an effect.
This results in warnings from gcc when -Wunused-value is enabled, and
is is enabled by -Wall.  Fix this by introducing trivial functions,
as function return values are generally allowed to be ignored.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name liblockdep-fix-unused-value-warnings.patch
tools/lib/lockdep/uinclude/linux/debug_locks.h
tools/lib/lockdep/uinclude/linux/kernel.h
tools/lib/lockdep/uinclude/linux/lockdep.h